package com.project.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.OrderBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lyl
 * @since 2021-10-04
 * 订单mapper
 */
@Mapper
public interface OrderMapper extends BaseMapper<OrderBean> {
    List<OrderBean> findOrder(String riderCode);

    void updateOrder(@Param("endtime") String endtime,
                     @Param("income") String income,
                     @Param("statue") String statue,
                     @Param("code") String code);
}
